package cn.zn.modules.appoin.service;

import cn.zn.framework.common.utils.PageUtils;
import cn.zn.modules.appoin.entity.AtRule;
import cn.zn.modules.appoin.entity.vo.AppoinWorkUserVO;
import cn.zn.modules.appoin.entity.vo.AtRuleVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface AtRuleService extends IService<AtRule> {

    /**
     * 工作人员列表
     *
     * @param params
     * @return
     */
    List<AppoinWorkUserVO> workerList(Map<String, Object> params);

    /**
     * 工作人员设置
     *
     * @param userCode
     * @return
     */
    @Deprecated
    AtRule queryByUserCode(String userCode);

    /**
     * 查询工作人员设置
     *
     * @param userCode
     * @return
     */
    AtRuleVO queryRuleByUserCode(String userCode);
}
